#ifndef GAMESCENE_H
#define GAMESCENE_H

#include <gui/paintscene.h>
#include <QtOpenGL/qgl.h>

class Game;

class GameScene : public PaintScene
{
    Q_OBJECT
public:
    explicit GameScene(Game *game, QObject *parent = 0);

    void paint(int width, int height, QGLWidget *widget);
signals:
    void updated();

public slots:

private:
    GLuint earthTexture;
    GLuint sunTexture;
    GLuint planetTexture;
    GLuint bulletTexture;
    GLuint marsTexture;
    GLuint starTexture;
    GLuint redTexture;
    GLuint greenTexture;
    GLuint shipTexture;
    GLuint fireTexture;
    GLuint whiteTexture;
    GLuint backTexture;

    GLuint rectList;

    Game *myGame;

    bool firstTime;
};

#endif // GAMESCENE_H
